package as3.component.support
{
	public class SliderButton extends BaseButton
	{
		private var _btnUp:String;
		private var _btnDown:String;
		private var _btnOver:String;		
		private var _btnDisable:String;
		
		public function SliderButton(btnUp:String = 'SliderBtnUp',btnDown:String = 'SliderBtnOver',btnOver:String = 'SliderBtnOver',btnDisable:String = 'SliderBtnUp')
		{
			_btnUp = btnUp;
			_btnDown = btnDown;
			_btnOver = btnOver;
			_btnDisable = btnDisable;
			
			super();
		}
		
		override protected function initUI():void
		{
			super.initUI();
			_uiLibrary["upImage"] = _btnUp;
			_uiLibrary["overImage"] = _btnDown;
			_uiLibrary["downImage"] = _btnOver;
			_uiLibrary["disabledImage"] = _btnDisable;
		}		
	}
}